import api from "../index";
export const getHomeData = (data) => {
  return new Promise((resolve, reject) => {
    api
      .get("/", data)
      .then((res) => resolve(res.data))
      .catch((err) => reject(err));
  });
};
